package com.espeaker.sdk.model;

import com.espeaker.sdk.utils.Base64Util;
import com.google.gson.annotations.Expose;
import java.util.List;
public class ReviseJson {
	@Expose
	public String audio_url;
	@Expose
	public int audio_length;
	@Expose
	public String title;
	@Expose
	public float delivery_score;
	@Expose
	public float language_score;
	@Expose
	public float topic_score;
	@Expose
	public String revise_audio;
	
	@Expose
	public String overall_revise;
	
	@Expose
	public String suggestion_revise;
	
	@Expose
	public int xiaofei_id;
	
	@Expose
	public int revise_id;
	
	@Expose
	public point []revise_user_points;
	
	@Expose
	public point []revise_reviser_points;
	@Expose
	public List<String> mFiles=null;
	
	@Expose
	public String commentPath;
	@Expose
	public String advisePath;
	@Expose
	public int commentLength;
	@Expose
	public int adviseLength;
	
	@Expose
	public String created_at;
	
	@Expose
	public String end_at;
	
	public static class point
	{
		@Expose
		public int at;
		@Expose
		public int duration;
		@Expose
		public String text="";
		@Override
		public String toString() {
			// TODO Auto-generated method stub
			if(text.length()>0)
			{
				text=Base64Util.encodeStr(text).replace("\r\n", "");
			}
			return "{\"at\":\""+at+"\",\"duration\":\""+duration+"\",\"text\":\""+text+"\"}";
		}
	}
}
